import React, { Component } from 'react';
import './App.css';
import { Provider } from 'react-redux'
import store from './store'
import { LocaleProvider, message } from 'antd'
import zh_CN from 'antd/lib/locale-provider/zh_CN'
import 'antd/dist/antd.css';
import RootRouter from './route'
import 'moment/locale/zh-cn';

class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <LocaleProvider locale={zh_CN}>
          <RootRouter />
        </LocaleProvider>
      </Provider>
    );
  }
}

export default App;
